<style>
    .col-xs-12 {
        padding-right: 3px;
        padding-left: 3px;
    }
</style>
<title>jira状态变更订阅</title>
<div class="row">
    <div class="alert alert-block alert-success">
        <i class="ace-icon fa fa-check green"></i>
        订阅后每天凌晨2点，发送用户jira的最新动态。
    </div>
    <div class="col-xs-12">
        <form class="form-inline" >
            <div class="form-group">
                <label class="pull-left inline">
                    <small style="font-size: 14px;" class="muted">是否开启代办订阅:</small>
                    <input id="jira_subcribe_open_checkbox" type="checkbox" class="ace ace-switch ace-switch-5">
                    <span class="lbl middle"></span>
                </label>
            </div>
            <div class="form-group">
                <label for="jira_subcribe_status_select">状态：</label>
                <select name="status" class="form-control" id="jira_subcribe_status_select" multiple>
                </select>
            </div>
            <button class="btn btn-success" type="button" id="jira_subcribe_submit"><i class="fa fa-save"></i> 保存设置</button>
        </form>
    </div>
</div>

<script type="text/javascript">

    var scripts = [
        '/system/js/jira/subscribe.js'
    ];
    $('#tabs').ace_ajax('loadScripts', scripts, function () {
        var subscribe = new Subscribe();
        $(function () {
            subscribe.initGird();
        });
    });

</script>
